@charset "utf-8";
/**
 * Created by kroyo on 2018/1/12.
 * servicelist 
 */


@import '../common/mixincommon';


body{
    background-color: #F2F2F2;
}

.blue{
    color: $servicebg;
}


.main{
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 100%;
    overflow: hidden;
}



h2{
    position: fixed;
    top: 0;
    width: 100%;
    height: r(120px);
    line-height: r(120px);
    font-size: r(32px);
    color: $s3;
    font-weight: 400;
    padding-left: r(32px);
    padding-right: r(32px);
    background-color: #F2F2F2;
    z-index: 1;
}


.main-list{
    position: absolute;
    width: 100%;
    height: auto;
    min-height: 100%;
    padding: r(120px) r(32px) r(160px);
    .list-item{
        position: relative;
        width: 100%;
        height: r(512px);
        @include borradius(r(10px));
        border: 1px solid #ffffff;
        background-color: #ffffff;
        padding-left: r(30px);
        padding-right: r(30px);
        margin-bottom: r(20px);
        overflow: hidden;
    }
    .item-header{
        position: relative;
//      left: r(-34px);
        width: 100%;
        height: r(80px);
        font-size: 0;
        margin-top: r(20px);
        margin-bottom: r(20px);
        .header-label{
            display: inline-block;
            width: r(150px);
            height: r(50px);
            line-height: r(50px);
            background-color: $sc;
            color: #ffffff;
            font-size: r(28px);
            text-align: center;
            -webkit-border-radius: 0 r(25px) r(25px) 0;
            -moz-border-radius: 0 r(25px) r(25px) 0;
            border-radius: 0 r(25px) r(25px) 0;
        }
        .header-text{
            display: inline-block;
            font-size: r(28px);
            color: $s6;
//          margin-left: r(40px);
            i{
                color: $servicebg;
            }
        }
        .header-logo{
            width: r(80px);
            height: r(80px);
            border: 1px solid #ddd;
            @include borradius(50%);
            overflow: hidden;
            margin-right: r(20px);
            img{
                width: 100%;
            }
        }
        .header-name{
            height: r(40px);
            position: relative;
            font-size: r(30px);
            color: $s3;
            &.active:after{
                position: absolute;
                top: 0;
                left: 0;
                width: r(360px);
                height: r(40px);
                display: block;
                content: '';
                background: url(../../img/demand/spoilertext.png) no-repeat center;
                background-size: 100%;
            }
        }
    }
    .item-label{
        width: 100%;
        height: r(32px);
        font-size: 0;
        margin-top: r(30px);
        margin-bottom: r(30px);
        .label{
            display: inline-block;
            width: auto;
            max-width: calc(100% / 3);
            height: r(32px);
            line-height: r(32px);
            font-size: r(28px);
            color: $s6;
            margin-right: r(40px);
            &:before{
                display: inline-block;
                content: '';
                width: r(32px);
                height: r(32px);
                margin-right: r(20px);
                vertical-align: r(-4px);
            }
        }
        .label1:before{
            background: url(../../img/demand/icon-sign.png) no-repeat center;
            background-size: 100%;
        }
        .label2:before{
            width: r(24px);
            height: r(32px);
            background: url(../../img/demand/icon-location.png) no-repeat center;
            background-size: 100%;
        }
        .label3:before{
            background: url(../../img/demand/icon-exper.png) no-repeat center;
            background-size: 100%;
        }
        .label3{
            margin-right: 0;
        }
    }
    .item-award{
        width: 100%;
        height: r(50px);
        font-size: 0;
        margin-bottom: r(30px);
        .award{
            display: inline-block;
            width: r(50px);
            height: r(50px);
            @include borradius(50%);
            margin-right: r(30px);
            vertical-align:middle; 
            overflow: hidden;
            &:last-of-type{
                margin-right: 0;
            }
        }
        img{
            width: 100%;
            text-align: center;
        }
    }
    .item-img{
        font-size: 0;
        .img-wrap{
            display: inline-block;
            width: 32%;
            height: 32%;
            margin-right: 2%;
            text-align: center;
            overflow: hidden;
        }
        .img-wrap:last-of-type{
            margin-right: 0;
        }
        img{
            width: 100%;
            height: 100%;
            vertical-align: middle;
        }
    }
    .list-item.selected{
        position: relative;
        border-color: $servicebg;
        &:after{
            position: absolute;
            top: r(-2px);
            right: r(-2px);
            display: block;
            content: '';
            width: r(100px);
            height: r(100px);
            background: url(../../img/demand/icon-triangle.png) no-repeat center;
            background-size:100%;
        }
        .header-label{
            background-color: $servicebg;
        }
    }
}




.footer{
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    height: r(160px);
    line-height: r(80px);
    padding: r(40px) r(32px);
    background-color: #F2F2F2;
    z-index: 1;
    .btn{
        display: block;
        width: 100%;
        height: 100%;
        @include borradius(r(40px));
        font-size: r(32px);
        color: #ffffff;
        background-color: $servicebg;
        text-align: center;
    }
}




.site-window{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.3);
    z-index: 999;
    &>div{
        width: r(640px);
        height: auto;
        min-height: r(276px);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translateX(-50%) translateY(-50%);
        @include borradius(r(10px));
        background-color: #ffffff;
        overflow: hidden;
    }
    .content-text{
        width: 100%;
        padding: r(60px) r(50px);
        font-size: r(28px);
        color: $s6;
    }
    .content-btnlist{
        width: 100%;
        height: r(100px);
        line-height: r(99px);
        border-top: 1px solid $sc;
        font-size: 0;
    }
    .btn{
        display: inline-block;
        width: 50%;
        height: 100%;
        font-size: r(32px);
        text-align: center;
    }
    .nopaybtn{
        color: $s9;
    }
    .paybtn{
        color: #ffffff;
        background-color: $servicebg;
    }
}


